package com.zf.service;


import com.zf.pojo.flight;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface flightService {
    List<flight> queryFlight();
    int deleteFlight(String  flightnumber);
    int addFlight(flight flight1);
    List<flight> queryMinPrice(String startPlace,String endPlace);
    List<flight> queryMinTime(String startPlace,String endPlace);
}
